package com.tanhua.dubbo.api;

import com.tanhua.model.domain.User;

public interface UserApi {

    //根据手机号查询用户
    public abstract User findByMobile(String mobile);

    //保存用户，返回用户id
    public abstract Long save(User user);

    //更新
    public abstract void update(User user);

    public abstract User findById(Long userId);

    public abstract User findByHuanxin(String huanxinId);
}
